package org.wggds.webservices.io.query;

import java.util.ArrayList;
import java.util.List;

import org.wggds.webservices.io.data.CompositionComponent;

public class CompositionSearchQuery extends WggdsQuery
{
    private boolean m_allowOtherResidues = false;
    private List<CompositionComponent> m_components = new ArrayList<CompositionComponent>();

    public boolean isAllowOtherResidues()
    {
        return m_allowOtherResidues;
    }
    public void setAllowOtherResidues(boolean a_allowOtherResidues)
    {
        m_allowOtherResidues = a_allowOtherResidues;
    }
    public List<CompositionComponent> getComponents()
    {
        return m_components;
    }
    public void setComponents(List<CompositionComponent> a_components)
    {
        m_components = a_components;
    }
    public void addComponent(CompositionComponent a_component)
    {
        this.m_components.add(a_component);
    }
    
	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return "composition";
	}
}
